.edit-task-form {
  overflow-y: auto;
  display: grid;
  align-items: start;
  width: 560px;
  height: 100%;
  padding: var(--v-padding-lg) var(--h-padding-md);
  background-color: var(--white-accent-clr);
  box-shadow: var(--shadow-sidebar);

  &-content {
    display: grid;
    gap: var(--gap-main);
  }

  &-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  &-actions {
    display: flex;
    gap: var(--gap-main);
    align-self: flex-end;
    justify-content: center;
  }
}

.name {
  margin-block-end: var(--gap-lg);
}

.add-subtask {
  background-color: transparent;
  border: none;
}

.settags {
  display: flex;
  gap: 8px;
}

.tagstitle {
  cursor: pointer;
}

.taglist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 25em;
  padding: 8px;
  background-color: var(--white-accent-clr);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px 1px rgb(34 139 207 / 25%);
}

.subtitle,
.tagstitle {
  margin-bottom: 10px;
  color: var(--greyscale-surface-title);
}

.arrow {
  font-size: 16px;
  animation-name: rotation-arrow;
  animation-duration: 1s;
  animation-fill-mode: forwards;

  &:hover {
    font-size: 16px;
  }
}

@keyframes rotation-arrow {
  to {
    transform: rotate(180deg);
  }
}
